import request from "../utils/request";

// 获取更多历史消息记录
export function getMoreChatDetails(uid, offset) {
    return request({
        url: '/user/chat-detail/get-more',
        method: 'get',
        params: {
            uid : uid,
            offset : offset
        }
    })
}

// 删除消息
export function deleteChatDetail(id) {
    return request({
        url: '/user/chat-detail/delete',
        method: 'get',
        params: {
            id : id
        }
    })
}